package com.jr.service.impl;

import com.jr.entry.Type;
import com.jr.mapper.TypeMapper;
import com.jr.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private TypeMapper typeMapper;
    @Override
    public ArrayList<Type> findTypeById(Integer tid) {
        return typeMapper.selectTypeById(tid);
    }
}
